/*
 * HttpRequest.h
 *
 */

#ifndef HTTPREQUEST_H_
#define HTTPREQUEST_H_

#include "HttpMessage.h"
#include "HttpHost.h"
#include <string>

#define MAX_REQUEST_BODY_SIZE 131072

class HttpRequest : public HttpMessage {
	private:
		std::string uri;
	public:
		HttpRequest(const std::string& uri);
		virtual ~HttpRequest();

		const std::string& getUri() const;
		virtual const std::string& getMethod() const = 0;
		std::string getRequestLine() const;

		static const std::string GET;
		static const std::string POST;
};

#endif /* HTTPREQUEST_H_ */
